Skip to content

Conversation

@vgvoleg
Copy link

@vgvoleg vgvoleg commented Jan 13, 2026

For many analytical queries in YDB, it is preferable to pass parameters directly within the query text. Otherwise, certain queries may not function correctly or may perform less efficiently than possible. In previous versions of the YDB libraries, parameter substitution was handled by the DBAPI. However, I believe a more robust approach is to use literal_binds=True. In this PR, I introduce the ability to override this behavior for specific adapters, and I enable it for YDB.

Additionally, I have implemented custom query timeout settings. This ensures that if a query times out on the DataLens side, it will no longer continue to execute on the YDB side.

@ovsds ovsds requested a review from catsona January 13, 2026 16:39
@catsona
Copy link
Contributor

catsona commented Jan 14, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants